package com.caishi.lkx.order;

import com.zzw.common.ResultCode;
import lombok.Getter;

/**
 * @author by keray
 * date:2021/5/13 1:56 下午
 */
public enum OrderResultCode implements ResultCode {
    orderRefundFail(4991, "订单退款失败"),
    orderNoInRefundStatus(4992, "订单未申请退款，无法退款"),
    userAssetsNoRefund(4993, "资产无法退货"),
    illegalOrderApplyRefund(4994, "非法订单退款申请"),
    doSellleException(4995, "结算异常,请联系管理员"),
    refuseFail(4996, "退款异常,请联系管理员"),
    groupCourseHaveSub(4997, "您已经订阅过该课程，无需重复订阅"),
    orderNotPay(4998, "订单未支付"),
    payFail(4997, "支付失败"),
    orderNotSuccess(4998, "订单完结失败"),
    safeCheckFail(4999, "安全检查失败"),
    doSellleOut(5000, "当前无可结算项");

    @Getter
    private final int code;
    @Getter
    private final String message;

    OrderResultCode(int code, String message) {
        this.code = code;
        this.message = message;
    }
}
